package com.bing.index;

import org.apache.lucene.index.IndexWriter;

import com.bing.document.GlobalFeature;
import com.bing.picture.Picture;

public interface IndexCreator {
	
	void createIndex(Picture picture);
	
	void createIndex(Picture picture, IndexWriter indexWriter);

	void createIndex(Picture picture, IndexWriter indexWriter, GlobalFeature globalFeature);

	void createIndex(Picture picture, IndexWriter indexWriter,
			Class<? extends net.semanticmetadata.lire.imageanalysis.features.GlobalFeature> globalFeatureClass);

	boolean hasCreate();

}
